package com.beimi.game.cmd;

import com.beimi.game.MJService;
import com.beimi.game.player.GamePlayer;
import com.beimi.net.AbstractGameCmd;
import com.next.core.util.GenericAnnotation;

@GenericAnnotation(type = "chupai")
public class CmdChupai extends AbstractGameCmd {

	@Override
	public void execute(MJService service, GamePlayer player, String data) {
		int pai = Integer.parseInt(data);
		service.chuPai(player, pai);
	}
}
